﻿Imports System.Runtime.CompilerServices

Public Module IDbTransactionExtension

    ''' <summary>
    ''' Saverに変換します
    ''' </summary>
    ''' <param name="source"></param>
    ''' <param name="prefix"></param>
    ''' <returns></returns>
    ''' <remarks>#119 IDbConnectionの拡張メソッドでLoad</remarks>
    <Extension()>
    Public Function ToSaver(source As IDbTransaction, prefix As String) As Saver
        Return Saver.Create(source, prefix)
    End Function

End Module
